package com.leilei;

import org.springframework.boot.context.properties.ConfigurationProperties;


/**
 * @author: lei
 * @date: 2024-07-29 21:59
 * @desc:
 */
@ConfigurationProperties(prefix = SecretProperties.PREFIX)
public class SecretProperties {

    public static final String PREFIX = "sm4.secret";
    private Boolean req;

    private Boolean resp;

    private Integer validDuration = 5;


    public Integer getValidDuration() {
        return validDuration;
    }

    public void setValidDuration(Integer validDuration) {
        this.validDuration = validDuration;
    }

    public Boolean getReq() {
        return req;
    }

    public void setReq(Boolean req) {
        this.req = req;
    }

    public Boolean getResp() {
        return resp;
    }

    public void setResp(Boolean resp) {
        this.resp = resp;
    }

}
